package com.petalsgroup.petals.dao.discuss;

import com.petalsgroup.petals.pojo.DiscussDO;

import java.util.List;

public interface DiscussDao {

    int insertDiscuss(DiscussDO discuss);

    List<DiscussDO> listDiscussByAid(int aid);

    List<DiscussDO> listDiscussByPreId(int preId);

    List<Integer> listDeleteDiscuss(int did);

    int updateDiscuss(DiscussDO discuss);

    int deleteDiscuss(int did);

    Integer findUidByDid(int dis_id);
}
